package com.anxinr.mapper;

import com.anxinr.pojo.base.QueryBase;
import com.anxinr.pojo.entity.Shop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author anxinr
 */
@Mapper
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 获取全部门店信息
     * @param shop
     * @return
     */
    List<Shop> getShopInfo(@Param("shop") QueryBase<Shop> shop);

    void deleteShop(@Param("id") Long id);
}
